Skip to content

[MAINT] update tests to check content of EMG, eyetracking and atlas datasets#1221

Open
Remi-Gau wants to merge 4 commits intobids-standard:mainfrom
Remi-Gau:enh/eye_atlas_emg
Open

[MAINT] update tests to check content of EMG, eyetracking and atlas datasets#1221
Remi-Gau wants to merge 4 commits intobids-standard:mainfrom
Remi-Gau:enh/eye_atlas_emg

Conversation

@Remi-Gau
Copy link
Contributor

closes none

mostly to keep track of the last release

assert len(files) == nb_files No newline at end of file
assert len(files) == nb_files

@pytest.mark.xfail(reason="atlas datasets are not fully supported in pybids")
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

those currently fail: I would expect that given the current configs we have

Comment on lines +64 to +73
("emg_ConcurrentIndependentUnits", 18),
("emg_CustomBipolar", 7),
("emg_CustomBipolarFace", 11),
("emg_IndependentMod", 7),
("emg_MultiBodyParts", 10),
("emg_Multimodal", 21),
("emg_TwoHDsEMG", 12),
("emg_TwoWristbands", 10),
("eyetracking_binocular", 21),
("eyetracking_fmri", 30),
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am a bit more confused as to why those pass given that some files from those datasets have entities, suffixes that do not appear in the config

I must be missing something obvious

I am tired

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They should pass because the validator is now schema based.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ha yes you mentioned

but what becomes of the config file then?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suppose we could make those tests contingent on the bidsschematools version?

The config file needs updating to give you access to new entities (or you can use @astewartau's recent contribution in #1215),

@codecov
Copy link

codecov bot commented Feb 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.50%. Comparing base (9a54461) to head (6d24be8).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1221      +/-   ##
==========================================
- Coverage   89.53%   89.50%   -0.04%     
==========================================
  Files          70       70              
  Lines        7828     7834       +6     
  Branches      951      951              
==========================================
+ Hits         7009     7012       +3     
- Misses        580      583       +3     
  Partials      239      239              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants